<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    div{
      width: 200px;
      height: 50px;
      border: 1px solid red;
      /*水平对其方式*/
      text-align: center;
      /*行高*/
      line-height: 50px;
      /*文本修饰 overline上划线 underline下划线  line-through删除线*/
      text-decoration: underline;
      /*文本修饰：颜色 x偏移值 y偏移值 浓度*/
      text-shadow: blue 5px -3px 20px;
      /*字体大小*/
      font-size: 20px;
      /*字体加粗 bold加粗  normal去掉自带加粗*/
      font-weight: bold;

    }
    /*文本修饰 none 去掉文本修饰*/
    a{
      text-decoration: none;
    }
    h3{
        /*字体加粗 normal去掉自带加粗*/
        font-weight: normal;
        /*设置斜体*/
        font-style: italic;
        /*设置字体*/
        font-family: cursive;
        font: 50px cursive;
    }
  </style>
</head>
<body>
<h3>这是个H3</h3>
<a href="">超链接</a>
<div>文本和字体测试</div>
</body>
</html>